package _29define;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStreamReader;
import java.util.Properties;
import java.util.Set;

public class Test {
    public static void main(String[] args) throws Exception {
        Properties properties = new Properties();
        properties.load(new InputStreamReader(new FileInputStream("src/.editorconfig"),"GBK"));
        int dataCount = properties.size ();
        Set<String> stringKeys=properties.stringPropertyNames();
        for (String s : stringKeys){
            System.out.println(s);
        }
        System.out.println(dataCount);
    }
}
